<template>
  <div>
<h1>第四题</h1>
  </div>
</template>

<script>
export default {
  created () {
    function copy (target) {
      return [...target]
    }
    const arr = [1, 2, 3, 4, 5]
    const brr = copy(arr)
    arr.push(100)
    console.log(brr)
  }
}
</script>

<style>

</style>
